# 导入所有模型以确保 Alembic 能正确检测
from .user import User
from .ai_workflow import AIWorkflow, WorkflowStep, ErrorHistory
from .image import ImageRecord
from .image_task import ImageTask, ImageTaskItem
from .news import News
from .product import Product
from .message import Message

# 导出所有模型
__all__ = [
    "User",
    "AIWorkflow", 
    "WorkflowStep", 
    "ErrorHistory",
    "ImageRecord",
    "ImageTask", 
    "ImageTaskItem",
    "News",
    "Product",
    "Message"
]
